<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <script src="jquery.min.js" type="text/javascript"></script>
</head>
<body>
  <form action="index.php" method="get" >
      <input type="text" name="name" value="" placeholder="">
      <input type="submit" name="tijiao" value="tijiao">
      inputs
  </form>

  <div id='title'>
<h2>hello word</h2>
  </div>
  <script>
    $(function(){
      var a = 123;
      var e = 'asd';
      u = "".concat(a, "&sub_type=add_chapter&set_id=").concat(e,"&pay_read_action=add&is_pay_training_camp=1");
      console.log(u);

      $('input[name="tijiao"]').click(function(){ 
        var name = $('input[name="name"]').val();
        $.post('index.php', {name: name}, function(data) {
            $('#title').html(data.html);
        },'json');
      });
    });

  </script>

</body>
</html>